package com.tuling.learnmongodb.service;

import com.tuling.learnmongodb.model.Logistic;
import com.tuling.learnmongodb.model.Order;

import java.util.List;

public interface OrderService{
    public void addOrder(Order order);
    public void updateOrderAndLogistaics(Logistic logistic);
    public Order selectOrderById(String id);
    public List<Order> selectOrderList();
    public boolean deleteOrderById(String id);
}
